#include "monster.h"
#include <iostream>

monster::~monster(void)
{
	return ;
}
monster::monster(string name, int life, int attack, int defence, bool isStar)
{
	this->name = name;
	this->life = life;
	this->attack = attack;
	this->defence = defence;
	this->setVisited(false);
	this->setIsStar(isStar);
}

bool monster::runEvent()
{
	cout << "My name's " << name << " , I'm a monster!\n" << endl;
	cout << "Life: " << life << " - Attack: " << attack << " - Defence: " << defence << "\n" << endl;	
	cout << "Do you want to fight? (Y/N) ";
	string answer = "";
	cin >> answer;

	if(answer != "Y" && answer != "y")
		return false;
	else
		return true;
}